<!DOCTYPE html>



  


<html class="theme-next gemini use-motion" lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.8.0">
  <meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#222">









<meta http-equiv="Cache-Control" content="no-transform">
<meta http-equiv="Cache-Control" content="no-siteapp">
















  
  
  <link href="../../../../lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css">




  
  
  
  

  
    
    
  

  

  

  

  

  
    
    
    <link href="//fonts.useso.com/css?family=Lato:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="../../../../lib/font-awesome/css/font-awesome.min.css?v=4.6.2" rel="stylesheet" type="text/css">

<link href="../../../../css/main.css?v=5.1.4" rel="stylesheet" type="text/css">


  <link rel="apple-touch-icon" sizes="180x180" href="../../../../images/apple-touch-icon-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="32x32" href="../../../../images/favicon-32x32-next.png?v=5.1.4">


  <link rel="icon" type="image/png" sizes="16x16" href="../../../../images/favicon-16x16-next.png?v=5.1.4">


  <link rel="mask-icon" href="../../../../images/logo.svg?v=5.1.4" color="#222">





  <meta name="keywords" content="Hexo, NexT">










<meta name="description" content="一、简介： seafile 是由国内团队开发的一个国际化的开源云存储软件项目，目前据说已有10万左右的用户，典型的机构用户包括比利时的皇家自然科学博物馆、德国的 Wuppertal 气候、能源研究所等等。Seafile 同时提供了客户端和服务器端软件免费下载，任何个人或公司都能搭建属于自己的私有文件同步服务。Seafile 的服务器端支持 Linux 、Windows 以及树莓派平台，客户端除了网">
<meta name="keywords" content="devops,Linux,Kubernetes,Flask,Python,Shell">
<meta property="og:type" content="article">
<meta property="og:title" content="Seafile-个人&#x2F;团队&#x2F;公司专属私有文件同步服务 (云存储网盘)">
<meta property="og:url" content="http://demo_demo.gitee.io/2015/09/08/seafile-e4-b8-aa-e4-ba-ba-e5-9b-a2-e9-98-9f-e5-85-ac-e5-8f-b8-e4-b8-93-e5-b1-9e-e7-a7-81-e6-9c-89-e6-96-87-e4-bb-b6-e5-90-8c-e6-ad-a5-e6-9c-8d-e5-8a-a1-e4-ba-91-e5-ad-98-e5-82-a8-e7-bd-91/index.html">
<meta property="og:site_name" content="运维人">
<meta property="og:description" content="一、简介： seafile 是由国内团队开发的一个国际化的开源云存储软件项目，目前据说已有10万左右的用户，典型的机构用户包括比利时的皇家自然科学博物馆、德国的 Wuppertal 气候、能源研究所等等。Seafile 同时提供了客户端和服务器端软件免费下载，任何个人或公司都能搭建属于自己的私有文件同步服务。Seafile 的服务器端支持 Linux 、Windows 以及树莓派平台，客户端除了网">
<meta property="og:locale" content="zh-Hans">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seaf.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seahub.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/web.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seafile.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/account.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-220859.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-221208.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/1-281x500.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/2-281x500.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/3-281x500.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224030.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224241.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224530.png">
<meta property="og:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-230020.png">
<meta property="og:updated_time" content="2018-12-10T10:49:03.000Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="Seafile-个人&#x2F;团队&#x2F;公司专属私有文件同步服务 (云存储网盘)">
<meta name="twitter:description" content="一、简介： seafile 是由国内团队开发的一个国际化的开源云存储软件项目，目前据说已有10万左右的用户，典型的机构用户包括比利时的皇家自然科学博物馆、德国的 Wuppertal 气候、能源研究所等等。Seafile 同时提供了客户端和服务器端软件免费下载，任何个人或公司都能搭建属于自己的私有文件同步服务。Seafile 的服务器端支持 Linux 、Windows 以及树莓派平台，客户端除了网">
<meta name="twitter:image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seaf.png">



<script type="text/javascript" id="hexo.configurations">
  var NexT = window.NexT || {};
  var CONFIG = {
    root: '/',
    scheme: 'Gemini',
    version: '5.1.4',
    sidebar: {"position":"left","display":"post","offset":12,"b2t":false,"scrollpercent":false,"onmobile":false},
    fancybox: true,
    tabs: true,
    motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},
    duoshuo: {
      userId: '0',
      author: '博主'
    },
    algolia: {
      applicationID: '',
      apiKey: '',
      indexName: '',
      hits: {"per_page":10},
      labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
    }
  };
</script>



  <link rel="canonical" href="http://demo_demo.gitee.io/2015/09/08/seafile-e4-b8-aa-e4-ba-ba-e5-9b-a2-e9-98-9f-e5-85-ac-e5-8f-b8-e4-b8-93-e5-b1-9e-e7-a7-81-e6-9c-89-e6-96-87-e4-bb-b6-e5-90-8c-e6-ad-a5-e6-9c-8d-e5-8a-a1-e4-ba-91-e5-ad-98-e5-82-a8-e7-bd-91/">





  <title>Seafile-个人/团队/公司专属私有文件同步服务 (云存储网盘) | 运维人</title>
  








</head>

<body itemscope="" itemtype="http://schema.org/WebPage" lang="zh-Hans">

  
  
    
  

  <div class="container sidebar-position-left page-post-detail">
    <div class="headband"></div>
<a href="https://github.com/guomaoqiu" class="github-corner" aria-label="View source on GitHub"><svg width="80" height="80" viewbox="0 0 250 250" style="fill:#FD6C6C; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"/><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"/><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"/></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
    <header id="header" class="header" itemscope="" itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-wrapper">
  <div class="site-meta ">
    

    <div class="custom-logo-site-title">
      <a href="/" class="brand" rel="start">
        <span class="logo-line-before"><i></i></span>
        <span class="site-title">运维人</span>
        <span class="logo-line-after"><i></i></span>
      </a>
    </div>
      
        <p class="site-subtitle">生命在于折腾</p>
      
  </div>

  <div class="site-nav-toggle">
    <button>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
      <span class="btn-bar"></span>
    </button>
  </div>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br>
            
            首页
          </a>
        </li>
      
        
        <li class="menu-item menu-item-about">
          <a href="" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-user"></i> <br>
            
            关于
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br>
            
            标签
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br>
            
            分类
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br>
            
            归档
          </a>
        </li>
      

      
    </ul>
  

  
</nav>



 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  

  
  
  

  <article class="post post-type-normal" itemscope="" itemtype="http://schema.org/Article">
  
  
  
  <div class="post-block">
    <link itemprop="mainEntityOfPage" href="http://demo_demo.gitee.io">

    <span hidden itemprop="author" itemscope="" itemtype="http://schema.org/Person">
      <meta itemprop="name" content="OutMan">
      <meta itemprop="description" content="">
      <meta itemprop="image" content="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/myphoto.png">
    </span>

    <span hidden itemprop="publisher" itemscope="" itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="运维人">
    </span>

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">Seafile-个人/团队/公司专属私有文件同步服务 (云存储网盘)</h1>
        

        <div class="post-meta">
          <span class="post-time">
            
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              
                <span class="post-meta-item-text">发表于</span>
              
              <time title="创建于" itemprop="dateCreated datePublished" datetime="2015-09-08T23:38:37+08:00">
                2015-09-08
              </time>
            

            

            
          </span>

          
            <span class="post-category">
            
              <span class="post-meta-divider">|</span>
            
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              
                <span class="post-meta-item-text">分类于</span>
              
              
                <span itemprop="about" itemscope="" itemtype="http://schema.org/Thing">
                  <a href="../../../../categories/Other/" itemprop="url" rel="index">
                    <span itemprop="name">Other</span>
                  </a>
                </span>

                
                
              
            </span>
          

          
            
          

          
          

          

          

          

        </div>
      </header>
    

    
    
    
    <div class="post-body" itemprop="articleBody">

      
      

      
        <p>一、简介： <strong>seafile</strong> 是由国内团队开发的一个国际化的<strong>开源云存储软件</strong>项目，目前据说已有10万左右的用户，典型的机构用户包括比利时的皇家自然科学博物馆、德国的 Wuppertal 气候、能源研究所等等。Seafile 同时提供了客户端和服务器端软件免费下载，任何个人或公司都能搭建属于自己的私有文件同步服务。Seafile 的服务器端支持 Linux 、Windows 以及树莓派平台，客户端除了网页版之外，还支持 Mac、Linux、Windows 三个桌面平台以及 Android 和 iOS 两个移动平台。你可以利用局域网里的一台电脑作为服务器，搭建一个仅局域网内部能访问的专有云存储服务，也能将 Seafile 部署到互联网上的诸如阿里云、Linode 或任何 VPS、独立服务器上，实现一个私人的在线云存储服务。 同时，Seafile 支持用户同时使用多个同步服务器，而且能够在不同服务器之间切换。比如，用户可以用公司服务器来同步工作文件，用个人服务器与朋友共享私人文件，两者互不干扰，私密性也可保证。而且，由于 Seafile 是开源的项目，因此相对来说数据的私密性还是有保障的，起码不必担心有什么看不见的后门。具体介绍可以参见seafile官方文档介绍。 下面我们就开始在局域网内搭建一台私有的云存储。 二、安装seafile服务器 1、安装前准备： 请确保服务器 上面安装了以下模块(这款软件是用Django+Python2.7所开发的，所以要保证服务器上面的python版本) python 2.7 python-setuptools python-imaging (这个是python的一个库，网上不好找到，下载地址<a href="http://www.pythonware.com/products/pil/" target="_blank" rel="noopener">http://www.pythonware.com/products/pil/</a>) python-mysqldb 2、获取服务端软件包</p>
<p>wget <a href="https://bintray.com/artifact/download/seafile-org/seafile/seafile-server\_4.3.2\_x86-64.tar.gz" target="_blank" rel="noopener">https://bintray.com/artifact/download/seafile-org/seafile/seafile-server\_4.3.2\_x86-64.tar.gz</a></p>
<p>3、解压安装</p>
<p>tar -xf seafile-server_4.3.2_x86-64.tar.gz<br>mkdir /home/seafile<br>mv seafile-server-4.3.2 /home/seafile/seafile-server<br>cd /home/seafile/seafile-server</p>
<p>./setup-seafile-mysql.sh  #运行安装脚本并回答预设问题</p>
<p>如果你的系统中没有安装上面的某个软件，那么 Seafile初始化脚本会提醒你安装相应的软件包.</p>
<p>./setup-seafile-mysql.sh<br>Checking python on this machine …  #-&gt;执行这个脚本之后会去检查之前说的那些依赖包，如果安装包不完整将会提示你某个软件包未安装<br>  Checking python module: setuptools … Done.<br>  Checking python module: python-imaging … Done.<br>  Checking python module: python-mysqldb … Done.</p>
<p>-----------------------------------------------------------------<br>This script will guide you to setup your seafile server using MySQL.<br>Make sure you have read seafile server manual at</p>
<pre><code>https://github.com/haiwen/seafile/wiki
</code></pre><p>Press ENTER to continue              #-&gt;这里我们需要一下回车，再继续<br>-----------------------------------------------------------------</p>
<p>What is the name of the server? It will be displayed on the client.<br>3 - 15 letters or digits<br>[ server name ] seafile-server       #-&gt;设置我们的服务器名称</p>
<p>What is the ip or domain of the server?<br>For example: <a href="http://www.mycompany.com" target="_blank" rel="noopener">www.mycompany.com</a>, 192.168.1.101         #-&gt;服务器的IP<br>[ This server’s ip or domain ] 192.168.2.108</p>
<p>Where do you want to put your seafile data?<br>Please use a volume with enough free space<br>[ default “/home/seafile/seafile-data” ] /data/seafile   #-&gt;存储的位置我这里选择的是/data/seafile</p>
<p>Which port do you want to use for the seafile fileserver?<br>[ default “8082” ]     #-&gt;默认的工作端口</p>
<p>-------------------------------------------------------<br>Please choose a way to initialize seafile databases:<br>-------------------------------------------------------</p>
<p>#-&gt;如果选择1, 你需要提供根密码. 脚本程序会创建数据库和用户。</p>
<p>#-&gt;如果选择2, ccnet/seafile/seahub 数据库应该已经被你（或者其他人）提前创建。<br>[1] Create new ccnet/seafile/seahub databases<br>[2] Use existing ccnet/seafile/seahub databases</p>
<p>[ 1 or 2 ] 1</p>
<p>What is the host of mysql server?<br>[ default “localhost” ] </p>
<p>What is the port of mysql server?<br>[ default “3306” ] </p>
<p>What is the password of the mysql root user?<br>[ root password ]    #-&gt;这里需要mysql的root权限进行创建库的操作</p>
<p>verifying password of user root …  done</p>
<p>Enter the name for mysql user of seafile. It would be created if not exists.<br>[ default “root” ] </p>
<p>Enter the database name for ccnet-server:<br>[ default “ccnet-db” ] </p>
<p>Enter the database name for seafile-server:<br>[ default “seafile-db” ] </p>
<p>Enter the database name for seahub:<br>[ default “seahub-db” ] </p>
<p>#-&gt;以上三个库名都用默认的 </p>
<p>以上步骤完成后将会出现一下提示信息，说明我们安装就成功啦 <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seaf.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seaf.png" alt="seaf"></a> 三、启动seafile服务和seahub网站 1、在/home/seafile/seafile-server目录下执行</p>
<p>#-&gt;启动seafile<br>./seafile.sh start # 启动 Seafile 服务</p>
<p>#-&gt;启动seahub<br>./seahub.sh start <port>  # 启动 Seahub 网站 （默认运行在8000端口上）</port></p>
<p>注意：你第一次启动 seahub 时，<code>seahub.sh</code> 脚本会提示你创建一个 seafile 管理员帐号，就像下面这样 <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seahub.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seahub.png" alt="seahub"></a> 这个管理账号必须是你自己取注册的任意邮箱地址，登陆管理使用这个地址，我这里用的是gmail. 服务启动后, 打开浏览器并输入这个地址 <a href="http://192.168.2.108:8000" target="_blank" rel="noopener">http://192.168.2.108:8000</a> <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/web.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/web.png" alt="web"></a> 输入账号密码就会被重定向到登陆页面. 输入你在安装 Seafile 时提供的用户名和密码后，你会进入 Myhome 页面，新建资料库. <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seafile.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/seafile.png" alt="seafile"></a>   至此，seafile私有与存储共享平台已经部署完毕了。 下面我们可以去下载一个客户端安装上 我这里使用的Ubuntu下的客户端 <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/account.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/account.png" alt="account"></a> <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-220859.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-220859.png" alt="Screenshot from 2015-09-08 22:08:59"></a>   因为之前就把我的库下载到了本地，你可以在本地库添加文件，然后点击同步就会同步到服务器端啦，就像这样(如果你不使用客户端的话，可以使用网页版) <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-221208.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-221208.png" alt="Screenshot from 2015-09-08 22:12:08"></a> 当然他的客户端不只是在linux(ubuntu) 上面才有哦， 客户端在： 移动端有：Android，Ios 桌面端有：windows、Linux、Mac 服务端在： Windows、Linux、树莓派 任何平台的浏览器。 下面是我手机端的截图，服务器跟手机的wifi是在一个局域网内的 <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/1.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/1-281x500.png" alt="1"></a> <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/2.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/2-281x500.png" alt="2"></a> <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/3.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/3-281x500.png" alt="3"></a>   既然说了是团队、企业或者个人使用，那每个人都要有个账号，那我们需要新建一个账号才行，因为我使用的seafile server是社区版，有许多的功能都不能使用，但是我觉得作为一个小团队，或者个人使用再适合不过了。 下面我们创建一个账号，在win上面登陆，必须要让你都服务器连接网络，并且注册使用seafile的用户必须使用email地址作为登陆账号，这个账号必须是存在可登录的email <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224030.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224030.png" alt="Screenshot from 2015-09-08 22:40:30"></a> <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224241.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224241.png" alt="Screenshot from 2015-09-08 22:42:41"></a> <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224530.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-224530.png" alt="Screenshot from 2015-09-08 22:45:30"></a> 我们只需要将这个资料库下载到本地就可了，添加文件，然后右击“我的资料库”就可以看到同步到服务器了。 然后我们可以在本地资料库中指定某个文件生成一个下载链接，可以分享给我的小伙伴下载。 我看了一下服务器上面的数据存储目录，数据传入到服务器端就类似于Map Reduce这种软件架构将数据切成了很多很多份，然后创建索引保存到数据库，获取数据时拿到索引，最后根据索引重组数据，再返回结果给客户端。 <a href="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-230020.png" target="_blank" rel="noopener"><img src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/2015/09/Screenshot-from-2015-09-08-230020.png" alt="Screenshot from 2015-09-08 23:00:20"></a> 上图中0211e<strong><strong>*</strong></strong>这个目录是用户seafileshare的资料库，文件上传到服务器是它就将一个完整的文件拆散了，在服务端我们找不到一个完整的软件包。这种存储方式跟mogilefs有些类似。 感觉社区版还是有些局限性，但是对于个人，一个团队我个人觉得完全足够啦。 好了如果需要了解更多，可以到官网了解使用：<a href="https://www.seafile.com/en/home/" target="_blank" rel="noopener">http://www.seafile.com</a></p>

      
    </div>
    
    
    
<div>
  
    <div>
    
        <div style="text-align:center;color: #ccc;font-size:14px;">-------------本文结束<i class="fa fa-paw"></i>感谢您的阅读-------------</div>
    
</div>


  
</div>
    

    

    

    <footer class="post-footer">
      

      
      
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="../../../08/18/saltstack-pillar-de-shi-xian-fang-shi/" rel="next" title="学习SaltStack小记—第三章《Pillar使用方法》">
                <i class="fa fa-chevron-left"></i> 学习SaltStack小记—第三章《Pillar使用方法》
              </a>
            
          </div>

          <span class="post-nav-divider"></span>

          <div class="post-nav-prev post-nav-item">
            
              <a href="../../10/python-e9-93-be-e6-8e-a5mysql-e6-95-b0-e6-8d-ae-e5-ba-93-e7-9a-84-e4-b8-80-e4-ba-9b-e6-93-8d-e4-bd-9c/" rel="prev" title="Python链接mysql数据库的一些操作">
                Python链接mysql数据库的一些操作 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </div>
  
  
  
  </article>



    <div class="post-spread">
      
    </div>
  </div>


          </div>
          


          

  



        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    
    <div class="sidebar-inner">

      

      

      <section class="site-overview-wrap sidebar-panel sidebar-panel-active">
        <div class="site-overview">
          <div class="site-author motion-element" itemprop="author" itemscope="" itemtype="http://schema.org/Person">
            
              <img class="site-author-image" itemprop="image" src="https://raw.githubusercontent.com/guomaoqiu/myblog_backup/master/uploads/myphoto.png" alt="OutMan">
            
              <p class="site-author-name" itemprop="name">OutMan</p>
              <p class="site-description motion-element" itemprop="description">😊</p>
          </div>

          <nav class="site-state motion-element">

            
              <div class="site-state-item site-state-posts">
              
                <a href="../../../../archives/">
              
                  <span class="site-state-item-count">79</span>
                  <span class="site-state-item-name">日志</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-categories">
                <a href="../../../../categories/index.html">
                  <span class="site-state-item-count">22</span>
                  <span class="site-state-item-name">分类</span>
                </a>
              </div>
            

            
              
              
              <div class="site-state-item site-state-tags">
                <a href="../../../../tags/index.html">
                  <span class="site-state-item-count">46</span>
                  <span class="site-state-item-name">标签</span>
                </a>
              </div>
            

          </nav>

          

          
            <div class="links-of-author motion-element">
                
                  <span class="links-of-author-item">
                    <a href="https://github.com/guomaoqiu" target="_blank" title="GitHub">
                      
                        <i class="fa fa-fw fa-github"></i></a>
                  </span>
                
                  <span class="links-of-author-item">
                    <a href="mailto:guomaoqiu@google.com" target="_blank" title="E-Mail">
                      
                        <i class="fa fa-fw fa-envelope"></i></a>
                  </span>
                
            </div>
          

          
          

          
          

          

        </div>
      </section>

      

      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright">&copy; <span itemprop="copyrightYear">2018</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">OutMan</span>

  
</div>


  <div class="powered-by">由 <a class="theme-link" target="_blank" href="https://hexo.io">Hexo</a> 强力驱动</div>



  <span class="post-meta-divider">|</span>



  <div class="theme-info">主题 &mdash; <a class="theme-link" target="_blank" href="https://github.com/iissnan/hexo-theme-next">NexT.Gemini</a> v5.1.4</div>




        







        
      </div>
    </footer>

    
      <div class="back-to-top">
        <i class="fa fa-arrow-up"></i>
        
      </div>
    

    

  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  


  











  
  
    <script type="text/javascript" src="../../../../lib/jquery/index.js?v=2.1.3"></script>
  

  
  
    <script type="text/javascript" src="../../../../lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>
  

  
  
    <script type="text/javascript" src="../../../../lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>
  

  
  
    <script type="text/javascript" src="../../../../lib/velocity/velocity.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="../../../../lib/velocity/velocity.ui.min.js?v=1.2.1"></script>
  

  
  
    <script type="text/javascript" src="../../../../lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>
  

  
  
    <script type="text/javascript" src="../../../../lib/canvas-nest/canvas-nest.min.js"></script>
  


  


  <script type="text/javascript" src="../../../../js/src/utils.js?v=5.1.4"></script>

  <script type="text/javascript" src="../../../../js/src/motion.js?v=5.1.4"></script>



  
  


  <script type="text/javascript" src="../../../../js/src/affix.js?v=5.1.4"></script>

  <script type="text/javascript" src="../../../../js/src/schemes/pisces.js?v=5.1.4"></script>



  
  <script type="text/javascript" src="../../../../js/src/scrollspy.js?v=5.1.4"></script>
<script type="text/javascript" src="../../../../js/src/post-details.js?v=5.1.4"></script>



  


  <script type="text/javascript" src="../../../../js/src/bootstrap.js?v=5.1.4"></script>



  


  




	





  





  












  





  

  

  

  
  

  

  

  

</body>
</html>
